package com.javase.A211008;

import com.javase.A211008.mode.Animal;
import com.javase.A211008.mode.Feeder;

public class Main {
    public static void main(String[] args) {
        Dog dog = new Dog("小狗", "汪汪汪");
        Cat cat = new Cat("小猫", "喵喵喵");
        Feeder xiaoHua = new Feeder("小华");
        xiaoHua.introduct();

        cat.shout();
        cat.eat("鱼");
        dog.shout();
        dog.eat("骨头");

    }
}
